import {request} from '@/utils/request'

export function createBook(data) {
    return request({
        url: '/realbook/createOrEdit',
        method: 'post',
        data
    })
}
export function getCategory() {
    return request({
        url: '/realbook/getBookCategoryList',
        method: 'get',
        data:{}
    })
}


export function getBookList() {
    return request({
        url: '/realbook/getRealBookList',
        method: 'get',
        data:{}
    })
}
